{% extends "feeds/base_site.html" %}
{% load i18n %}

{% block stylesheet %}{{ settings.MEDIA_URL }}/css/dashboard.css{% endblock %}
{% block coltype %}colMS{% endblock %}
{% block bodyclass %}dashboard{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block content %}
{% if success_message %}
<ul class="messagelist"><li>{{ success_message }}</ul>
{% endif %}
{% if error_message %}
<p class="errornote">{{ error_message }}</p>
{% endif %}
<div id="content-main">

        <div class="module">
        <table summary="Adding feeds">
        <caption>Add a new feed</caption>
                <form action="/feeds/add/" method="post">
            <tr>
                <td>
                    Feed URL: <td><input type="text" name="url" value=""/>
            </tr>
            <tr>
                <td>
                    Username: <td><input type="text" name="username" value=""/>
            </tr>
            <tr>
                <td>
                    Password: <td><input type="password" name="password" value=""/>
            </tr>
            <tr>
                <td>Choose the source of the feeds:

                <td><input type="radio" name="group" value="single" checked> A single feed (insert its URL above)<br/>
                <input type="radio" name="group" value="all"> All your LJ friends<br/>
                <input type="radio" name="group" value="choose"> A custom group

            </tr>
            <tr>
                <td><input type="checkbox" name="only_protected"/> Create feeds out of protected entries only
            </tr>
            <tr>
                <td><input type="checkbox" name="mark_protected"/> Mark the protected entries as such
            </tr>
            <tr>
                <td>
                    <input type="submit" value="OK"/>
            </tr>
                </form>
        </table>
        </div>

        <div class="module">
        <table summary="Remove existing feeds">
        <caption>Remove all of your existing feeds</caption>
                <form action="/feeds/remove/" method="post">
            <tr>
                <td>
                    Username: <td><input type="text" name="username" value=""/>
            </tr>
            <tr>
                <td>
                    Password: <td><input type="password" name="password" value=""/>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Remove"/>
            </tr>
                </form>
        </table>
        </div>

</div>
{% endblock %}

{% block sidebar %}
{% endblock %}
